package demo;

public class Dog extends Animal{
    public Dog(String name){
        super(name);
    }
    public void bark(){
        System.out.println(this.name+"汪汪叫");
    }
    @Override
    public void eat() {
        System.out.println(this.name+"正在吃饭");
    }
}
